diff options
author | default <nobody@localhost> | 2022-09-19 22:41:30 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-19 22:41:30 +0200 |
commit | c88d4f1e152859254d28bcd6cd7ad7798f0782c4 (patch) | |
tree | 9baffa3bda31577cc37827d872f586ea05ca382a /Makefile | |
parent | 368cf465fc98be1ac1b81dddd2dc62bf35cd0967 (diff) |
[data.c] new file.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,16 +2,18 @@ CFLAGS=-g -Wall all: snac -snac: snac.o main.o +snac: snac.o main.o data.o $(CC) -L/usr/local/lib *.o -lcurl -lcrypto -o $@ .c.o: $(CC) $(CFLAGS) -I/usr/local/include -c $< +clean: + rm -rf *.o *.core snac + snac.o: snac.c snac.h \ xs.h xs_io.h xs_encdec.h xs_json.h xs_curl.h xs_openssl.h xs_socket.h xs_httpd.h main.o: main.c snac.h xs.h -clean: - rm -rf *.o *.core snac +data.o: data.c snac.h xs.h xs_json.h |