Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VERSION = 1
- hello = ./hello
- hello2 = ./hello2
- CC = gcc
- CXX = g++
- CFLAGS = -Wall -O -g
- FILES = $(hello) $(hello2)
- all: $(FILES)
- hello:
- $(CC) $(CFLAGS) -o hello hello.c
- hello2:
- $(CC) $(CFLAGS) -O1 -o hello2 hello.c
- clean:
- rm -f $(FILES) *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement