aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 2553325c8c86600e481fe9868aafc1bcf0dc9ce5 (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} ${LIBS} ${OBJ} sim.c -o sim

run:
	./sim

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

clean:
	rm *.o sim