Atlas - Makefile.mingw

Home / ext / SDL / src / hidapi / windows Lines: 1 | Size: 539 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: hidtest libhidapi.dll 10 11CC=gcc 12COBJS=hid.o ../hidtest/test.o 13OBJS=$(COBJS) 14CFLAGS=-I../hidapi -I. -g -c 15LIBS= 16DLL_LDFLAGS = -mwindows 17 18hidtest: $(OBJS) 19 $(CC) -g $^ $(LIBS) -o hidtest 20 21libhidapi.dll: $(OBJS) 22 $(CC) -g $^ $(DLL_LDFLAGS) -o libhidapi.dll 23 24$(COBJS): %.o: %.c 25 $(CC) $(CFLAGS) $< -o $@ 26 27clean: 28 rm *.o ../hidtest/*.o hidtest.exe 29 30.PHONY: clean 31
[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.