diff options
author | Max Christian Pohle | 2021-11-23 19:19:07 +0100 |
---|---|---|
committer | Max Christian Pohle | 2021-11-23 19:21:08 +0100 |
commit | dd41b7c512c6f2bde11dd9378a49a17b80d7df92 (patch) | |
tree | f9465db51d43603adc602c63f9cd80395eaff670 /Makefile | |
parent | 7991c931a0d7a6888ca151869137b7f9ab78852c (diff) | |
download | ohmycgi-dd41b7c512c6f2bde11dd9378a49a17b80d7df92.tar.bz2 ohmycgi-dd41b7c512c6f2bde11dd9378a49a17b80d7df92.zip |
simplified further for initial compatibility with FreeBSD
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -6,6 +6,11 @@ CFLAGS := ${cflags.${BUILD}} | |||
6 | 6 | ||
7 | LIBS := -lcups | 7 | LIBS := -lcups |
8 | 8 | ||
9 | CFLAGS += -L/usr/local/lib | ||
10 | CFLAGS += -I/usr/local/include | ||
11 | |||
12 | FILES := cgi.c | ||
13 | |||
9 | test: main | 14 | test: main |
10 | ./main | 15 | ./main |
11 | 16 | ||
@@ -15,5 +20,5 @@ clean: | |||
15 | rm -f ./main | 20 | rm -f ./main |
16 | 21 | ||
17 | %: | 22 | %: |
18 | $(CC) $(CFLAGS) -o $@ cgi.c main.c $(LIBS) | 23 | $(CC) $(CFLAGS) -o $@ $(FILES) main.c $(LIBS) |
19 | 24 | ||