mirror of
https://github.com/catppuccin/catppuccin
synced 2024-11-29 06:50:32 +00:00
19 lines
269 B
Makefile
19 lines
269 B
Makefile
|
# Simple Makefile
|
||
|
include make.mk
|
||
|
|
||
|
all: hello ## Doc comment
|
||
|
|
||
|
hello: hello.o world.o
|
||
|
.PHONY: hello
|
||
|
|
||
|
GCC = gcc \
|
||
|
-O2
|
||
|
|
||
|
.o.c:
|
||
|
ifeq ($(FOO),'bar')
|
||
|
$(GCC) -c qwe \
|
||
|
-Wall
|
||
|
else
|
||
|
echo "Hello World"
|
||
|
$(error Architecture $(ARCH) is not supported)
|
||
|
endif
|