diff options
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 | ||