mirror of
https://github.com/JamesonHuang/OpenWrt_Luci_Lua.git
synced 2024-11-23 22:00:11 +00:00
21 lines
227 B
Makefile
21 lines
227 B
Makefile
|
.PHONY: all clean tags
|
||
|
|
||
|
CFLAGS:=-Wall -O2
|
||
|
|
||
|
all: client server
|
||
|
|
||
|
server: server.c
|
||
|
$(CC) $(CFLAGS) $^ -o $@
|
||
|
strip -s $@
|
||
|
|
||
|
client: client.c
|
||
|
$(CC) $(CFLAGS) $^ -o $@
|
||
|
strip -s $@
|
||
|
|
||
|
tags:
|
||
|
ctags -R .
|
||
|
|
||
|
clean:
|
||
|
-rm *.o client server
|
||
|
|