dev-R/ps: new version

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-24 02:04:25 +02:00
parent 8d54480480
commit 4a5d3f3fe6
4 changed files with 34 additions and 18 deletions

View File

@@ -4,11 +4,11 @@
all: px @TARGETS@ $(SHLIB)
px: px.c
- $(CC) $(CFLAGS) -Wall px.c -o px
- $(CC) $(CFLAGS) $(LDFLAGS) -Wall px.c -o px
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -Wall px.c -o px
interrupt: interrupt.c
- $(CC) $(CFLAGS) -Wall interrupt.c -o interrupt
- $(CC) $(CFLAGS) $(LDFLAGS) -Wall interrupt.c -o interrupt
+ $(CC) $(CFLAGS) $(LDFLAGS) -fPIE -Wall interrupt.c -o interrupt
clean: