This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<title>title</title> | |
<link rel="stylesheet" href="style.css"> | |
<script src="script.js"></script> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAMES=main newClass newClass1 | |
test: $(addsuffix .o, $(NAMES)) | |
$(CXX) -o $@ $^ | |
%.o: %.cpp | |
$(COMPILE.cc) -MMD -MP -o $@ $< | |
.PHONY: clean | |
clean: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROJ=matvec | |
CC=gcc | |
CFLAGS=-std=c99 -Wall -DUNIX -g -DDEBUG | |
# Check for 32-bit vs 64-bit | |
PROC_TYPE = $(strip $(shell uname -m | grep 64)) | |
# Check for Mac OS |
NewerOlder