1
0
mirror of https://github.com/weiju/amiga-stuff synced 2025-11-22 01:52:17 +00:00
Files
amiga-stuff/iffview/Makefile
Wei-ju Wu 907e05c7bc scrolling works somewhat
the indexes are not entirely correct
2016-01-21 07:19:50 -08:00

18 lines
399 B
Makefile

#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 -pedantic -DLITTLE_ENDIAN