diff options
author | justanothercatgirl <sotov@twistea.su> | 2025-03-24 08:30:16 +0300 |
---|---|---|
committer | justanothercatgirl <sotov@twistea.su> | 2025-03-24 08:30:16 +0300 |
commit | 8542ec17d3df989f3df9fd03af7a447bf730dc13 (patch) | |
tree | 796f070ef2d22d0d8d75fd25f3ce6613a0ce15ab /Makefile | |
parent | 787ef64ce61302a159ad48974272533b6fdf6c9e (diff) |
added json dependency
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,11 +1,13 @@ # Makefile +CFLAGS += -Ic_headers/include + all: main endpoints.so .PHONY: all clean endpoints.o: endpoints.c - $(CC) -c $< -o $@ + $(CC) -c $< $(CFLAGS) -o $@ rename.ld: endpoints.o # Looks terrible @@ -18,7 +20,7 @@ endpoints.so: endpoints.o rename.ld $(CC) -shared -Wl,rename.ld $< -fPIE -o $@ main: main.c - $(CC) $< -ldl -lmicrohttpd -o $@ + $(CC) $< $(CFLAGS) -ldl -lmicrohttpd -o $@ clean: $(RM) main endpoints.o endpoints.so rename.ld |