2011-04-30 04:54:07 +04:00
|
|
|
CC = i686-pc-toaru-gcc
|
2011-06-09 07:27:27 +04:00
|
|
|
CFLAGS = -march=core2 -std=c99 -O3 -m32 -Wa,--32
|
2011-04-30 04:54:07 +04:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
2011-06-09 07:27:27 +04:00
|
|
|
all: ../initrd/bin/game ../initrd/bin/julia ../initrd/bin/kbd-test
|
2011-04-30 04:54:07 +04:00
|
|
|
|
2011-04-30 12:40:36 +04:00
|
|
|
../initrd/bin/game: main.c
|
2011-05-01 07:30:57 +04:00
|
|
|
${CC} ${CFLAGS} -o $@ $<
|
2011-04-30 12:40:36 +04:00
|
|
|
|
|
|
|
../initrd/bin/julia: julia.c
|
|
|
|
${CC} ${CFLAGS} -o $@ $<
|
2011-04-30 04:54:07 +04:00
|
|
|
|
2011-06-09 07:27:27 +04:00
|
|
|
../initrd/bin/kbd-test: keyboard-test.c
|
|
|
|
${CC} ${CFLAGS} -o $@ $<
|
|
|
|
|