Thumbnail

mins/hello-world.git

Clone URL: https://git.buni.party/mins/hello-world.git

Viewing file on branch master

1
2OBJS := src/main.o
3
4.PHONY: all clean install
5all: hello
6
7.c.o:
8 $(CC) $(CFLAGS) -c -o $@ $<
9
10hello: $(OBJS)
11 $(CC) $(LDFLAGS) -o $@ $(OBJS)
12
13clean:
14 rm hello $(OBJS)
15
16install:
17 install -m 0755 hello $(PREFIX)
18