|
|
1.1 root 1: # SDL v1 build: "make SDL=sdl"
2: # SDL v2 build: "make SDL=sdl2"
3:
4: SDL ?= sdl
5: CFLAGS := -O -Wall $$(pkg-config --cflags $(SDL))
6: LIBS := $$(pkg-config --libs $(SDL))
7:
8: all: listkeys checkkeys
9:
1.1.1.2 ! root 10: checkkeys: checkkeys.c makefile
1.1 root 11: $(CC) -o $@ $(CFLAGS) $< $(LIBS)
12:
1.1.1.2 ! root 13: listkeys: listkeys.c makefile
1.1 root 14: $(CC) -o $@ $(CFLAGS) $< $(LIBS)
15:
16: clean:
17: $(RM) listkeys checkkeys *.[oO] *~
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.