diff options
| author | Max Christian Pohle | 2021-11-20 02:20:05 +0100 |
|---|---|---|
| committer | Max Christian Pohle | 2021-11-20 02:20:05 +0100 |
| commit | c9fd3111a73f3fa66b99b1819ecb8e54688b87d0 (patch) | |
| tree | a2fe86f996464b32a258d747889353981997eb58 /Makefile | |
| parent | 076a37921f533b97413340288d56572e11e1395b (diff) | |
| download | ohmycgi-c9fd3111a73f3fa66b99b1819ecb8e54688b87d0.tar.bz2 ohmycgi-c9fd3111a73f3fa66b99b1819ecb8e54688b87d0.zip | |
The server actually serves
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -1,3 +1,8 @@ | |||
| 1 | BUILD := debug | ||
| 2 | |||
| 3 | cflags.debug := -Wall -o0 -g -DDEBUG=1 | ||
| 4 | cflags.release := -os -s | ||
| 5 | CFLAGS := ${cflags.${BUILD}} | ||
| 1 | 6 | ||
| 2 | test: main | 7 | test: main |
| 3 | ./main | 8 | ./main |
| @@ -8,5 +13,5 @@ clean: | |||
| 8 | rm -f ./main | 13 | rm -f ./main |
| 9 | 14 | ||
| 10 | %: | 15 | %: |
| 11 | $(CC) -pthread -g -o $@ $@.c | 16 | $(CC) $(CFLAGS) -o $@ $@.c |
| 12 | 17 | ||
