# standard makefile SRC = hello ifeq ($(OS),Windows_NT) TARGET = $(SRC).exe else TARGET = $(SRC) endif all: $(SRC).c gcc -Wall $(SRC).c -lm -o $(TARGET) program: vc +tos -D_ATARI -o $(SRC).prg $(SRC).c clean: rm -f $(SRC).o $(SRC) $(SRC).exe $(SRC).prg