aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 00f72ad3607a0b8683423f8be3d17151836f5993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
CC := gcc

SDL_CFLAGS := $(shell sdl-config --cflags)
SDL_LDFLAGS := $(shell sdl-config --libs)

CFLAGS := -std=c99 -Wall -g -O0 \
	  $(SDL_CFLAGS)
LDFLAGS := $(SDL_LDFLAGS)

all : effect-pad

effect-pad : effect-pad.o
	$(CC) $(LDFLAGS) $^ -o $@

clean:
	$(RM) *.o effect-pad{,.exe}