combjs
annotate Makefile @ 0:15293518d92b
first version, combined joystick seems to be working, max 32 buttons.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 13 Jul 2011 07:12:57 +0300 |
parents | |
children | dd02002227a2 |
rev | line source |
---|---|
nuclear@0 | 1 src = $(wildcard *.c) |
nuclear@0 | 2 obj = $(src:.c=.o) |
nuclear@0 | 3 bin = combjs |
nuclear@0 | 4 |
nuclear@0 | 5 CC = gcc |
nuclear@0 | 6 CFLAGS = -pedantic -Wall -g |
nuclear@0 | 7 |
nuclear@0 | 8 $(bin): $(obj) |
nuclear@0 | 9 $(CC) -o $@ $(obj) $(LDFLAGS) |
nuclear@0 | 10 |
nuclear@0 | 11 .PHONY: clean |
nuclear@0 | 12 clean: |
nuclear@0 | 13 rm -f $(obj) $(bin) |