void-packages/srcpkgs/musca/files/Makefile
Juergen Buchmueller 884da4d8d6 musca: fix PIE
See #4572
2016-09-07 06:56:35 +02:00

20 lines
301 B
Makefile

CFLAGS?=-Wall -g
LDFLAGS?=-s
LIBS?=-L/usr/lib -lX11 -lm
all: musca apis xlisten
musca: musca.o
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
apis: apis.o
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
xlisten: xlisten.o
$(CC) $(LDFLAGS) -o $@ $< $(LIBS)
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $<
clean:
rm -f musca apis