usaa21/sk2a/Makefile
Peter Petrek cfbcf91b0d try
2022-01-19 16:52:37 +01:00

16 lines
306 B
Makefile

CC = gcc
CFLAGS = -g -Wall -Werror
all: program
program: compressor.o main.o
$(CC) $(CFLAGS) compressor.o main.o -o program
compressor.o: compressor.c
$(CC) $(CFLAGS) -c compressor.c -o compressor.o
main.o: main.c
$(CC) $(CFLAGS) -c main.c -o main.o
clean:
rm -rf program *.o *.exe *.exe.stackdump