Files
2023-03-13 08:36:51 +00:00

18 lines
276 B
Makefile

# 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