diff options
Diffstat (limited to 'other/zylyx/src/Makefile')
| -rw-r--r-- | other/zylyx/src/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/other/zylyx/src/Makefile b/other/zylyx/src/Makefile new file mode 100644 index 0000000..05b9167 --- /dev/null +++ b/other/zylyx/src/Makefile | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | |||
| 2 | # zylyx - makefile | ||
| 3 | # by scut of teso | ||
| 4 | |||
| 5 | DFLAGS=-Wall | ||
| 6 | LIBS=-lpthread -lslang | ||
| 7 | CC=gcc | ||
| 8 | CFLAGS=$(DFLAGS) | ||
| 9 | PREFIX=/usr/local | ||
| 10 | |||
| 11 | all: zylyx | ||
| 12 | |||
| 13 | clean: | ||
| 14 | rm -f *.o | ||
| 15 | |||
| 16 | zylyx: common.o network.o proxy.o screen.o zylyx.c | ||
| 17 | $(CC) $(CFLAGS) -o zylyx zylyx.c common.o network.o proxy.o screen.o $(LIBS) | ||
| 18 | strip zylyx | ||
| 19 | mv zylyx ../ | ||
| 20 | |||
| 21 | common.o: common.c | ||
| 22 | $(CC) $(CFLAGS) -c common.c | ||
| 23 | |||
| 24 | network.o: network.c | ||
| 25 | $(CC) $(CFLAGS) -c network.c | ||
| 26 | |||
| 27 | proxy.o: proxy.c | ||
| 28 | $(CC) $(CFLAGS) -c proxy.c | ||
| 29 | |||
| 30 | screen.o: screen.c | ||
| 31 | $(CC) $(CFLAGS) -c screen.c | ||
| 32 | |||
