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:
17
iffview/Makefile
Normal file
17
iffview/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user