cc-stuff/Makefile

13 lines
278 B
Makefile
Raw Normal View History

CPPFLAGS += -Idependencies -Idependencies/mongoose
LDLIBS += -lm
all: img2cpi cpi2png wsvpn
img2cpi: img2cpi.c cc-common.o
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o "$@"
wsvpn: wsvpn.o dependencies/mongoose/mongoose.o
$(CC) $(LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o "$@"
.PHONY: all