diff options
author | Max Christian Pohle | 2021-12-04 14:29:49 +0100 |
---|---|---|
committer | Max Christian Pohle | 2021-12-04 14:29:49 +0100 |
commit | bef7e1a6f6ed28d580b331063baa35b34a8f1d25 (patch) | |
tree | 2fdf190056351d42430bc2241f2c788f02673264 /Makefile | |
parent | 512c406b4fb3bc4054073608707ae07f65a65890 (diff) | |
download | ohmycgi-labelprinter.tar.bz2 ohmycgi-labelprinter.zip |
Prepared `letter` type and updated CSSlabelprinter
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ cflags.debug := -Wall -o0 -g -DDEBUG=1 | |||
4 | cflags.release := -os -s | 4 | cflags.release := -os -s |
5 | CFLAGS := ${cflags.${BUILD}} | 5 | CFLAGS := ${cflags.${BUILD}} |
6 | 6 | ||
7 | LIBS := -lcups | 7 | LIBS := -lcups -lmagic |
8 | 8 | ||
9 | CFLAGS += -L/usr/local/lib | 9 | CFLAGS += -L/usr/local/lib |
10 | CFLAGS += -I/usr/local/include | 10 | CFLAGS += -I/usr/local/include |
@@ -14,6 +14,9 @@ FILES := cgi.c http_parser.c | |||
14 | test: main | 14 | test: main |
15 | ./main.${BUILD} | 15 | ./main.${BUILD} |
16 | 16 | ||
17 | test_param: main | ||
18 | ./main.${BUILD} --test1 -a -b -c --test2 --pidfile=foo --pidfile foobar | ||
19 | |||
17 | main: clean | 20 | main: clean |
18 | $(CC) $(CFLAGS) -o $@.${BUILD} $(FILES) main.c $(LIBS) | 21 | $(CC) $(CFLAGS) -o $@.${BUILD} $(FILES) main.c $(LIBS) |
19 | 22 | ||