aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 2c7d1fb9887cad48daf6161e824c9c835afffdc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include config.mk

OBJ = draw.o

all: build run

build: ${OBJ} sim.c
	${CC} ${CFLAGS} ${OBJ} sim.c -o sim ${LIBS}

run:
	./sim

%.o: %.c
	${CC} ${CFLAGS} $< -c

clean:
	rm *.o sim