cri-o/pause/Makefile

14 lines
235 B
Makefile
Raw Normal View History

src = $(wildcard *.c)
obj = $(src:.c=.o)
override LIBS +=
override CFLAGS += -std=c99 -Os -Wall -Wextra -static
pause: $(obj)
$(CC) -o ../bin/$@ $^ $(CFLAGS) $(LIBS)
strip ../bin/$@
.PHONY: clean
clean:
rm -f $(obj) ../bin/pause