|
|
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:
10: checkkeys: checkkeys.c Makefile
11: $(CC) -o $@ $(CFLAGS) $< $(LIBS)
12:
13: listkeys: listkeys.c Makefile
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.