1
0
mirror of https://github.com/weiju/amiga-stuff synced 2025-12-08 14:58:33 +00:00

restructured source tree

This commit is contained in:
Wei-ju Wu
2016-01-16 13:45:15 -08:00
parent 037bf7bb4a
commit f69b3a8ee4
12 changed files with 3 additions and 41 deletions

17
iffview/Makefile Normal file
View File

@ -0,0 +1,17 @@
#CC=vc +aos68k
CC=vc +kick13
CFLAGS=-c99 -I$(NDK_INC) -DDEBUG
all: iffview
clean:
rm -f *.o iffview ilbm
iffview: iffview.o ilbm.o
$(CC) $(CFLAGS) $^ -lamiga -lauto -o $@
# Mostly for testing
# interestingly, when defining std=c99, LITTLE_ENDIAN disappears as a definition
# in gcc, so we define it explicitly
ilbm: ilbm.c
gcc -o $@ $< -DSTANDALONE -DDEBUG -std=c99 -DLITTLE_ENDIAN