Rename http.c/.h to chttp.c/.h and improve amalgamation formatting
This commit is contained in:
@@ -6,16 +6,10 @@ LFLAGS = -lssl -lcrypto
|
||||
CFILES = $(shell find src -name "*.c")
|
||||
HFILES = $(shell find src -name "*.h")
|
||||
|
||||
all: client_example server_example http.c http.h
|
||||
all: chttp.c chttp.h
|
||||
|
||||
http.c http.h: $(HFILES) $(CFILES)
|
||||
chttp.c chttp.h: $(HFILES) $(CFILES)
|
||||
python misc/amalg.py
|
||||
|
||||
client_example: examples/client_example.c http.c http.h
|
||||
$(CC) examples/client_example.c http.c $(CFLAGS) -o $@ $(LFLAGS)
|
||||
|
||||
server_example: examples/server_example.c http.c http.h
|
||||
$(CC) examples/server_example.c http.c $(CFLAGS) -o $@ $(LFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f client_example server_example
|
||||
|
||||
Reference in New Issue
Block a user