gluon-airtime: Improve Makefile
Remove redundant mention of source files
This commit is contained in:
		
							parent
							
								
									196e8f7c4e
								
							
						
					
					
						commit
						97b82af246
					
				| @ -11,12 +11,14 @@ CFLAGS         += -pedantic | |||||||
| 
 | 
 | ||||||
| all: respondd.so | all: respondd.so | ||||||
| 
 | 
 | ||||||
| # sudo apt install libnl-3-dev
 | %.c: %.h | ||||||
| airtime-test:	airtime-test.c airtime.c airtime.h |  | ||||||
| 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -D_GNU_SOURCE -lnl-tiny -o $@ airtime.c airtime-test.c $(LDLIBS) |  | ||||||
| 
 | 
 | ||||||
| respondd.so: respondd.c airtime.c | # sudo apt install libnl-3-dev
 | ||||||
| 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared -fPIC -D_GNU_SOURCE -lnl-tiny -o $@ airtime.c respondd.c $(LDLIBS) | airtime-test: airtime.c airtime-test.c | ||||||
|  | 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -fPIC -D_GNU_SOURCE -lnl-tiny -o $@ $^ $(LDLIBS) | ||||||
|  | 
 | ||||||
|  | respondd.so: airtime.c respondd.c | ||||||
|  | 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared -fPIC -D_GNU_SOURCE -lnl-tiny -o $@ $^ $(LDLIBS) | ||||||
| 
 | 
 | ||||||
| clean: | clean: | ||||||
| 	rm -rf *.so airtime-test | 	rm -rf *.so airtime-test | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user