Files
SyncHome/trunk/workspace/Amiga/Math/makefile

18 lines
276 B
Makefile
Raw Normal View History

2023-03-13 08:36:51 +00:00
# standard makefile
SRC = math
ifeq ($(OS),Windows_NT)
TARGET = $(SRC).exe
else
TARGET = $(SRC)
endif
all: $(SRC).c
gcc -Wall $(SRC).c -lm -o $(TARGET)
program:
vc +amiga -D_AMIGA -o $(SRC) $(SRC).c
clean:
rm -f $(SRC).o $(SRC) $(SRC).exe $(SRC).prg