out call to ports with inline asm + c variables
[swan-dev] / Makefile
index f949274..5ee33f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,9 @@ ADIR = objs
 SDIR = src
 INC = -Iinc
 
-CFLAGS = -march=v30 -ffreestanding # use NEC v30 chip
+CFLAGS = -march=v30# use NEC v30 chip
+CFLAGS += -ffreestanding# no stdlib
+CFLAGS += -fno-pic# for use of inline asm
 
 _OBJS = entry.o main.o # todo: make sure entry is forced as entry point for linker