diff options
| author | Inqiyad Sabr <sabr@ariamath.xyz> | 2025-11-03 23:37:18 +0600 |
|---|---|---|
| committer | Inqiyad Sabr <sabr@ariamath.xyz> | 2025-11-03 23:37:18 +0600 |
| commit | be5bdba716daa801b2f7dbdf95e44b1fcc4646e8 (patch) | |
| tree | 6626990cb6b368920f453b7332f2aa8720c09a3a /Makefile | |
| parent | 4b4a4a8a9a17d77ee4737be93dae3b349a131201 (diff) | |
newline on heading close : (<h1,2,3>\n)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -3,28 +3,18 @@ RM := /bin/rm DESTDIR := /usr/local/bin -CFLAGS := -std=c99 -Wfloat-equal -Og +CFLAGS := -std=c99 -Wfloat-equal CFLAGS += -Wall -Werror -Wextra -Wpedantic CFLAGS += -m64 -no-pie -pipe -CFLAGS += -ffunction-sections -fdata-sections -CFLAGS += -D_XOPEN_SOURCE=500L -flto +CFLAGS += -D_XOPEN_SOURCE=500L CFLAGS += -march=native -mtune=generic LDFLAGS := -static -Wl,--build-id=none -LDFLAGS += -ffunction-sections -fdata-sections -#LDFLAGS += -Wl,--strip-all -LDFLAGS += -Wl,--flto .SUFFIXES: .c .o -g2x: $(FILES) *.o - $(CC) $(LDFLAGS) *.o -o g2x - -.c.o: - $(CC) $(CFLAGS) -c *.c - -clean: - $(RM) ./*.o +g2x: *.c + $(CC) -o g2x $(LDFLAGS) $(CFLAGS) g2x.c install: install -s -m 0755 g2x $(DESTDIR) |