aboutsummaryrefslogtreecommitdiff
path: root/core/Makefile
blob: 3382b529e4bdfa966a8c556366e154a720da286c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SRC=$(wildcard *.c)
OBJ=$(SRC:.c=)

all: ${OBJ}

options:
	@echo SRC: ${SRC}
	@echo OBJ: ${OBJ}

%: %.c
	gcc $< -o $@ ../lib/slib.a -static -nostdlib -fno-stack-protector -Wno-implicit-function-declaration -fno-builtin -g

clean:
	rm ${OBJ}