Atlas - Makefile.linux
Home / ext / SDL2 / src / hidapi / testgui Lines: 1 | Size: 624 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1########################################### 2# Simple Makefile for HIDAPI test program 3# 4# Alan Ott 5# Signal 11 Software 6# 2010-06-01 7########################################### 8 9all: testgui 10 11CC=gcc 12CXX=g++ 13COBJS=../libusb/hid.o 14CPPOBJS=test.o 15OBJS=$(COBJS) $(CPPOBJS) 16CFLAGS=-I../hidapi -Wall -g -c `fox-config --cflags` `pkg-config libusb-1.0 --cflags` 17LIBS=-ludev -lrt -lpthread `fox-config --libs` `pkg-config libusb-1.0 --libs` 18 19 20testgui: $(OBJS) 21 g++ -Wall -g $^ $(LIBS) -o testgui 22 23$(COBJS): %.o: %.c 24 $(CC) $(CFLAGS) $< -o $@ 25 26$(CPPOBJS): %.o: %.cpp 27 $(CXX) $(CFLAGS) $< -o $@ 28 29clean: 30 rm *.o testgui 31 32.PHONY: clean 33[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.